package com.sec.etech.component.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.ModelBase;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value="prod_parts_edetail_info")
public class PartsEDetailInfo extends ModelBase {
    //部套ID
    @TableId
    private Long componentid;
    /**
     * 部套编号
     */
    protected String componentnum;
    /**
     * 部套名称
     */
    protected String componentname;
    /**
     * 部套英文名称
     */
    protected String ecomponentname;
    /**
     * 部套（任务）类型
     */
    @TableField("component_type")
    protected String componentType;
    /**
     * 部套状态 10-编制/20-图纸入库（设计入库）/30-路线入库/40-BOM入库/50-英文明细入库
     */
    @TableField("component_status")
    protected Integer componentStatus;
    /**
     * 通用性（z_refstatus）1-正常使用，2-不推荐，3-禁止通用，4-需配37
     */
    @TableField("component_reuse")
    protected Integer componentReuse;
    //编制
    @TableField("design_compiler_uid")
    private Long designCompilerUid;
    //编制日期
    @TableField("design_compiler_date")
    private Date designCompilerDate;
    //校对
    @TableField("design_checker_uid")
    private Long designCheckerUid;
    //校对日期
    @TableField("design_checker_date")
    private Date designCheckerDate;
    //审核
    @TableField("design_proofer_uid")
    private Long designProoferUid;
    //审核日期
    @TableField("design_proofer_date")
    private Date designProoferDate;
    //审定
    @TableField("design_approver_uid")
    private Long designApproverUid;
    //审定日期
    @TableField("design_approver_date")
    private Date designApproverDate;
    //标准会签
    @TableField("standard_compiler_uid")
    private Long standardCompilerUid;
    //标准会签日期
    @TableField("standard_compiler_date")
    private Date standardCompilerDate;
    //入库人员
    @TableField("finish_uid")
    private Long finishUid;
    //入库人员日期
    @TableField("finish_date")
    private Date finishDate;
    /**
     * 明细创建方式，1-手动添加；2-指定部套复制；3-外部路线导入
     */
    @TableField("detail_create_mode")
    protected Integer detailCreateMode;
    private Integer active;
}
